package com.kx.center.mappers;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.kx.center.entity.Suggestion;

public interface SuggestionMapper {

	void addSuggestion(Suggestion suggestion);

	List<String> findAcceptEmail(int companyId);

	String findStoreName(int storeId);

	List<Suggestion> findList
	(@Param("companyId")Integer companyId ,@Param("pageNow")Integer pageNow ,@Param("pageSize")Integer pageSize);

	Map<String, Object> findAccountInfo(int accountId);

	Map<String, Object> findSuggestionDetail(int suggestionId);

	void replySuggestion(@Param("id")Integer id, @Param("replyContent")String replyContent, @Param("operatorId")Integer operatorId);

	String findUserIdById(int accountId);

	void cancelSuggest(int id);

	List<Suggestion> findFrontList(int accountId);

	Map<String, Object> findFrontDetail(int id);

	int findPageCount(int companyId);

	String findOperatorName(int operatorId);

}
